package dp.mobile.eden.multiplayer.message.action;

import java.io.Serializable;
import java.util.ArrayList;

public class SpawnEnemy extends ActionUpdate implements Serializable {
	public ArrayList<Integer> mEntityIds = new ArrayList<Integer>();
	public ArrayList<Integer> mInitialHealths = new ArrayList<Integer>();
	public ArrayList<Integer> mMaxHealths = new ArrayList<Integer>();
	public ArrayList<Float> mVelocities = new ArrayList<Float>();
	public ArrayList<Integer> mGolds = new ArrayList<Integer>();
	public ArrayList<Boolean> mOwners = new ArrayList<Boolean>();
	public ArrayList<Integer> mWaves = new ArrayList<Integer>();
	public ArrayList<Integer> mImageIndex = new ArrayList<Integer>();
	
	public SpawnEnemy(long gameTime, boolean isServer) {
		super(gameTime, ACTION_SPAWN_ENEMY, isServer, 0);
	}
	
	public void addEnemyMeta(int id, int health, int maxHealth , float velocity , int gold , int imageIndex , boolean isServer, int wave) {
		mEntityIds.add(id);
		mInitialHealths.add(health);
		mMaxHealths.add(maxHealth);
		mVelocities.add(velocity);
		mGolds.add(gold);
		mImageIndex.add(imageIndex);
		mOwners.add(isServer);
		mWaves.add(wave);
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 8166740484195634221L;

}
